package org.sang.mapper;

import org.apache.ibatis.annotations.Select;
import org.sang.bean.Video;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface VideoMapper {

    @Select("SELECT videoNo, serialNr, videoName, path, courseNo, timeLength from `video`;")
    public List<Video> getAll();
}
